package org.springblade.modules.repair.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.mp.base.BaseService;
import org.springblade.modules.repair.dto.ByScoreQuestionAppealSearchDTO;
import org.springblade.modules.repair.entity.MaintainByScoreQuestion;
import org.springblade.modules.repair.entity.MaintainByScoreQuestionAppeal;
import org.springblade.modules.repair.vo.ByScoreQuestionAppealPageVO;
import org.springblade.modules.repair.vo.PlanAbarbeitungByContentVO;

import java.util.List;

public interface ByScoreQuestionAppealService extends BaseService<MaintainByScoreQuestionAppeal> {

	IPage<ByScoreQuestionAppealPageVO> selectPage(IPage<ByScoreQuestionAppealPageVO> page, ByScoreQuestionAppealSearchDTO searchDTO);

    List<PlanAbarbeitungByContentVO> selectDetailItem(Long id);

	Boolean submit(MaintainByScoreQuestionAppeal appeal);

	Boolean submitResult(MaintainByScoreQuestionAppeal appeal);

	Boolean submitReason(MaintainByScoreQuestion byScoreQuestion);

	Boolean repeal(MaintainByScoreQuestionAppeal appeal);
}
